﻿#include "MyQtLogin.h"
#include <QDebug>
#include <QSpinBox>
MyQtLogin::MyQtLogin(QWidget* parent)
    : QDialog(parent)
{
    ui.setupUi(this);
}

MyQtLogin::~MyQtLogin() {}
void MyQtLogin::OnSizeButtonClicked()
{
    QSize size   = this->size();
    int   width  = size.width();
    int   height = size.height();

    qDebug() << __FUNCTION__ << "width: " << width << "height: " << height;
}
void MyQtLogin::OnMoveButtonClicked()
{
    int x = ui.spinBox->value();
    int y = ui.spinBox_2->value();
    move(x, y);
    qDebug() << __FUNCTION__;
}